from rdflib.syntax.NamespaceManager import NamespaceManager
RDFLIB_CONNECTION = ''
RDFLIB_STORE = 'IOMemory'
import getopt
import sys
def usage():
print "USAGE: RDFPipe.py [options]\n \n Options:\n \n --stdin Parse RDF from STDIN (useful for piping)\n --help \n --input-format Format of the input document(s). One of:\n 'xml','trix','n3','nt','rdfa'\n --output Format of the final serialized RDF graph. One of:\n 'n3','xml','pretty-xml','turtle',or 'nt'\n --ns=prefix=namespaceUri Register a namespace binding (QName prefix to a \n base URI). This can be used more than once"